package com.smmisia.knife4j.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "knife4j")
@Data
public class Knife4jProperties {
    private Boolean enable = true;
    private String language = "zh_cn";

    @Data
    public static class SpringDoc {
        private String apiDocsPath = "/v3/api-docs";
        private String swaggerUiPath = "/swagger-ui.html";
        private String pathsToMatch = "/**";
        private String packagesToScan;
    }

    private SpringDoc springDoc = new SpringDoc();
}
